const feedbackModel = require("../models/feedbackModel");
const {getDataByPage} = require("../utils/tools");
// 添加意见反馈
exports.createFeedback = (feedbackInfo) => {
    return feedbackModel.create(feedbackInfo);
}


// 分页查询意见反馈
exports.findFeedback = async (queryObj) => {
   return getDataByPage(feedbackModel,queryObj,"userId")
}


